<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;boxphp后台管理系统</title>
<include file="Public/header" />
</head>


<body>
 
  
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	
               <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
            </div>
            <div class="list_vmall_rig">
            	<div class="list_vmall_bort">
                	<table width="100%" border="1" cellspacing="1" cellpadding="1">
                      <tr>
                      	<td height="46"> <a style="float:left; margin-left:10px;" href="<{:U('slideEdit',array('store_id'=>$store_id))}>" class="v_mall_q"><i class="v_mall_fi"></i>添加banner图片</a></td>
						<td>
						  <form action="<{:U('slide')}>" method="get">&nbsp;类型： 
								  <input type="hidden" name="store_id" value="<{$store_id}>" />  
								  <select name="position">
								  <option value="">请选择</option>
                                        <volist name="type[0]" id="vo">  
                                         <option <if condition="$position eq $key">selected="selected"</if> value="<{$key}>"><{$vo}></option>
                                        </volist>   
                                   </select>
								  <input type="submit" value="搜索" style="margin-left:4px; height:26px; color:#333" class="btn" />
								  </form>
						</td>
                      </tr>
                    </table>
					           <table width="100%" class="v_am_bor_t v_am_td" border="1" cellspacing="1" cellpadding="1">
                      <tr class="v_am_bg_top" height="30">
                        <td height="34" align="center" valign="middle" class="v_am_font">ID</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">图片</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">图片标题</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">显示位置</td>
					    <td height="34" align="center" valign="middle" class="v_am_font">状态</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">排序</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">录入时间</td>
                        <td height="34" align="center" valign="middle" class="v_am_font" style="border-right:0;">操作</td>
                      </tr>
                      <volist name="list" id="vo">
                      <tr> 
                        <td height="36" align="center" valign="middle"><{$vo.id}></td>
                        <td height="36" align="center" valign="middle"><img src="__Img__<{$vo.img}>" width="30" /></td>
                        <td height="36" align="center" valign="middle"><{$vo.title}></td>
						 <td height="36" align="center" valign="middle"><{$type[0][$vo['position']]}></td>
                        <td height="36" align="center" valign="middle"><{$vo['status']==1 ? '不显示' : '显示'}></td>
                          <td height="36" align="center" valign="middle"><input type="text" size="5"  key="id"  onblur="UpSort(this)"   model="slide" key_value="<{$vo.id}>" value="<{$vo.sort_order}>" /></td>
                        <td height="36" align="center" valign="middle"><{$vo.created|date='Y-m-d H:i', ###}></td>
                        <td style="border-right:0;"  height="36" align="center" valign="middle">	
                            <a  href="<{:U('slideEdit',array('id'=>$vo['id'],'store_id'=>$store_id))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;编辑</a> 
                            <a onclick="return confirm('确认需要删除些信息吗？');"  href="<{:U('slideDel',array('id'=>$vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj3"></i>&nbsp;删除</a>
                        </td>
                      </tr>
                     </volist>
                    </table>
                    </form>
                    <include file='Public/pager' />
                </div>
            </div>
        </div>
        
   
 
</body>
</html>
